
<div id="mxad_{$ad['ad_id']}" class="flashNews" <neq name="width" value="0">style="width:{$width}px;"</neq>>
<volist name="ad.pictures" id="v">
    <div <neq name="i" value="1">style="display:none;"</neq>>
    <p><a target="_blank" href="{$v['link']}">
        <img width="{$width}" height="{$height}" style="width:100%;" src="{$v['picture']}" />
    </a></p>
    </div>
</volist>
<php>if(count($ad['pictures']) > 1):</php>
<ul></ul>
<script type="text/javascript">
    new fSwitchPic("mxad_{$ad['ad_id']}");
</script>
<php>endif;</php>
</div>